<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #d1 {
            color: red;
            font-size: 30px;
        }
        div {
            color: green;
            background-color: blue;
        }
        p {
            color: yellow;
        }
    </style>
</head>
<body>
<div id="d1">
    <p>这是p标签</p>
    <span>这是div内的span</span>
    <a href="">超链接</a>
</div>
    <div id="d2">
        这是div2
    </div>
</body>
</html>